<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: examples/dgr_demo.cc File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d9/d39/dgr__demo_8cc.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">dgr_demo.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;ctime&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &quot;ns3/core-module.h&quot;</code><br />
<code>#include &quot;ns3/network-module.h&quot;</code><br />
<code>#include &quot;ns3/internet-module.h&quot;</code><br />
<code>#include &quot;ns3/point-to-point-module.h&quot;</code><br />
<code>#include &quot;ns3/applications-module.h&quot;</code><br />
<code>#include &quot;ns3/netanim-module.h&quot;</code><br />
<code>#include &quot;ns3/topology-read-module.h&quot;</code><br />
<code>#include &quot;ns3/traffic-control-module.h&quot;</code><br />
<code>#include &quot;ns3/node-list.h&quot;</code><br />
<code>#include &quot;ns3/dgrv2-module.h&quot;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;list&gt;</code><br />
<code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Include dependency graph for dgr_demo.cc:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d2/d90/dgr__demo_8cc__incl.png" border="0" usemap="#aexamples_2dgr__demo_8cc" alt=""/></div>
<map name="aexamples_2dgr__demo_8cc" id="aexamples_2dgr__demo_8cc">
<area shape="rect" title=" " alt="" coords="1224,5,1397,31"/>
<area shape="rect" title=" " alt="" coords="5,86,64,111"/>
<area shape="poly" title=" " alt="" coords="1224,22,972,24,640,32,313,50,178,64,77,81,70,83,68,78,75,76,178,58,313,45,640,27,972,19,1224,17"/>
<area shape="rect" title=" " alt="" coords="88,86,163,111"/>
<area shape="poly" title=" " alt="" coords="1224,23,991,28,688,38,391,55,268,67,175,81,164,84,163,79,174,76,267,62,390,50,688,32,991,22,1224,18"/>
<area shape="rect" title=" " alt="" coords="187,86,330,111"/>
<area shape="poly" title=" " alt="" coords="1223,23,1059,27,840,36,593,53,343,81,317,86,317,81,342,76,592,48,840,31,1059,21,1223,17"/>
<area shape="rect" title=" " alt="" coords="355,86,523,111"/>
<area shape="poly" title=" " alt="" coords="1224,25,919,43,727,59,535,81,505,86,504,81,534,76,727,54,918,38,1223,20"/>
<area shape="rect" title=" " alt="" coords="547,86,714,111"/>
<area shape="poly" title=" " alt="" coords="1224,28,999,48,727,81,699,86,698,81,726,76,998,43,1224,23"/>
<area shape="rect" title=" " alt="" coords="739,79,877,119"/>
<area shape="poly" title=" " alt="" coords="1224,32,1073,52,891,81,891,76,1072,47,1224,27"/>
<area shape="rect" title=" " alt="" coords="901,86,1096,111"/>
<area shape="poly" title=" " alt="" coords="1266,33,1058,85,1057,80,1265,28"/>
<area shape="rect" title=" " alt="" coords="1121,86,1290,111"/>
<area shape="poly" title=" " alt="" coords="1297,33,1233,80,1230,76,1294,29"/>
<area shape="rect" title=" " alt="" coords="1314,86,1521,111"/>
<area shape="poly" title=" " alt="" coords="1328,29,1392,76,1389,80,1325,33"/>
<area shape="rect" title=" " alt="" coords="1545,79,1682,119"/>
<area shape="poly" title=" " alt="" coords="1355,28,1532,74,1531,79,1354,33"/>
<area shape="rect" title=" " alt="" coords="1706,86,1825,111"/>
<area shape="poly" title=" " alt="" coords="1398,27,1538,48,1695,76,1712,80,1711,85,1694,81,1537,53,1397,33"/>
<area shape="rect" title=" " alt="" coords="1849,86,2001,111"/>
<area shape="poly" title=" " alt="" coords="1398,24,1599,44,1838,76,1863,81,1862,86,1837,81,1599,49,1397,29"/>
<area shape="rect" title=" " alt="" coords="2026,86,2097,111"/>
<area shape="poly" title=" " alt="" coords="1397,16,1520,19,1674,27,1844,46,1930,59,2014,76,2024,79,2022,84,2013,81,1929,64,1844,51,1674,33,1519,24,1397,21"/>
<area shape="rect" title=" " alt="" coords="2121,86,2164,111"/>
<area shape="poly" title=" " alt="" coords="1398,18,1566,24,1771,34,1968,51,2049,62,2110,76,2114,78,2113,83,2109,81,2048,68,1968,56,1771,39,1565,29,1397,24"/>
<area shape="rect" title=" " alt="" coords="2189,86,2262,111"/>
<area shape="poly" title=" " alt="" coords="1398,19,1803,38,2019,55,2109,65,2177,76,2188,79,2186,84,2175,81,2108,70,2019,60,1802,43,1397,25"/>
<area shape="rect" title=" " alt="" coords="2287,86,2345,111"/>
<area shape="poly" title=" " alt="" coords="1397,18,1598,23,1851,33,2097,50,2198,62,2275,76,2282,78,2281,83,2274,81,2198,67,2097,56,1851,38,1598,28,1397,23"/>
</map>
</div>
</div>
<p><a href="../../d9/d39/dgr__demo_8cc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a74e095ce7015b761478d9cddb8f25c44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d39/dgr__demo_8cc.html#a74e095ce7015b761478d9cddb8f25c44">NS_LOG_COMPONENT_DEFINE</a> (<a class="el" href="../../d9/d39/dgr__demo_8cc.html#adf12170ede4e9e3a5cc1339bfd5809e0">expName</a>)</td></tr>
<tr class="separator:a74e095ce7015b761478d9cddb8f25c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:adf12170ede4e9e3a5cc1339bfd5809e0"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d39/dgr__demo_8cc.html#adf12170ede4e9e3a5cc1339bfd5809e0">expName</a> = &quot;dgrv2_demo&quot;</td></tr>
<tr class="separator:adf12170ede4e9e3a5cc1339bfd5809e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a74e095ce7015b761478d9cddb8f25c44" name="a74e095ce7015b761478d9cddb8f25c44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74e095ce7015b761478d9cddb8f25c44">&#9670;&#160;</a></span>NS_LOG_COMPONENT_DEFINE()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NS_LOG_COMPONENT_DEFINE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d9/d39/dgr__demo_8cc.html#adf12170ede4e9e3a5cc1339bfd5809e0">expName</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="adf12170ede4e9e3a5cc1339bfd5809e0" name="adf12170ede4e9e3a5cc1339bfd5809e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf12170ede4e9e3a5cc1339bfd5809e0">&#9670;&#160;</a></span>expName</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string expName = &quot;dgrv2_demo&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d9/d39/dgr__demo_8cc_source.html#l00023">23</a> of file <a class="el" href="../../d9/d39/dgr__demo_8cc_source.html">dgr_demo.cc</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li><li class="navelem"><a class="el" href="../../d9/d39/dgr__demo_8cc.html">dgr_demo.cc</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
